<?php 
include_once("../public/head.php")
 ?>
<!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="../index.php">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="./pinglun.php">评论管理</a><span class="crumb-step">&gt;</span><span>新增栏目</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">

                <form action="doadd.php" method="post">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
             
                        </tr>
                            <tr>
                                <th><i class="require-red">*</i>关联文章id：</th>
                                <td>
                                    <input class="common-text required" id="title" name="pid" size="50" value="" type="text">
                                </td>
                            </tr>
                           
                            <tr>
                                <th>关联用户id：</th>
                                <td><textarea name="uid" class="common-text required" id="content" cols="30" style="width: 98%;" rows="10"></textarea></td>
                            </tr>
                       

                            <tr>
                            <th>评论内容：</th>
                            <td>
                            <!-- 加载编辑器的容器 -->
                            <script id="baidu" name="content" type="text/plain" style="width: 1000px;">
                                这里写你的初始化内容
                            </script>
                            </td>
                            </tr>



                            <tr>
                                <th><i class="require-reg">*</i>状态：</th>
                                <td>
                                    <input class="" id="title" name="status" size="50" value="1" type="radio" checked="">正常
                                    <input class="" id="" name="status" size="50" value="2" type="radio">异常
                                </td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>

                           <!-- 配置文件 -->
                    <script type="text/javascript" src="../../public/baidu/ueditor.config.js"></script>
                    <!-- 编辑器源码文件 -->
                    <script type="text/javascript" src="../../public/baidu/ueditor.all.js"></script>
                    <!-- 实例化编辑器 -->
                    <script type="text/javascript">
                        var ue = UE.getEditor('baidu');
                    </script>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->

    <?php 
       include_once("../public/end.php")
     ?>